import { SdkTags } from "../constant";

export default function reducer(state = { tags: [], isShow: false }, { type, data }) {
    if (SdkTags.LOAD === type) state = { ...data };
    return state;
}